import request from "@/common/untils/request.js"

// 折线图数据
export function statistics(data){
  return request({
    url: "/data/api-v/personStatistics/statistics",
    method: "post",
    data
  })
}

// 
export function compare(data){
  return request({
    url: "/data/api-v/personStatistics/compare",
    method: "get",
    data
  })
}
// 列表数据
export function listByCondition(data){
  return request({
    url: "/data/api-v/dbperson/listByCondition",
    method: "post",
    data
  })
}
// 添加标签
export function addConfig(data){
  return request({
    url: "/data/api-v/label/config",
    method: "post",
    data
  })
}
// 人像档案
export function esSearch(data){
  return request({
    url: "/data/api-v/es/esSearch",
    method: "post",
    data
  })
}
// 获取标签列表
export function getLabelList(data){
  return request({
    url: "/data/api-v/label/list",
    method: "post",
    data
  })
}